ci: add workflow_dispatch#4108
Conversation
|
@shubhdoshi21 resolve conflicts |
247debc to
dc21e74
Compare
Up to standards ✅🟢 Issues
|
a89a7dc to
e27dff2
Compare
e27dff2 to
209231e
Compare
Confidence Score: 4/5Not safe to merge as-is — the concurrency misconfiguration will cancel cross-branch push runs. One P1 logic bug: all push events resolve to the same concurrency group (server-tests-push-), so concurrent pushes to any of the 7 protected branches will cancel each other. The install.sh changes are correct and the workflow_dispatch wiring is clean. .github/workflows/server-tests.yml — specifically the concurrency group expression at line 69.
|
| Filename | Overview |
|---|---|
| .github/workflows/server-tests.yml | Adds workflow_dispatch trigger and concurrency control; concurrency group collapses all push-event runs into the same group, causing cross-branch cancellations |
| .github/helper/install.sh | Replaces hardcoded frappe/erpnext URLs with env-var overrides using correct :- bash defaults; logic is sound |
Reviews (1): Last reviewed commit: "ci: add workflow_dispatch" | Re-trigger Greptile
📝 WalkthroughWalkthroughThe pull request introduces parameterization of Git remotes and branches for frappe and erpnext across the installation and workflow infrastructure. The install script ( 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 5a4e86b7-e93b-4161-ba89-8d4c22d854a2
📒 Files selected for processing (2)
.github/helper/install.sh.github/workflows/server-tests.yml
Add
workflow_dispatchwith Custom Frappe/ERPNext Remotes and Concurrency controlAdds a manual
workflow_dispatchtrigger toserver-tests.ymlso the CI can be run against custom forks or branches of Frappe and ERPNext without modifying any files. Also fixesinstall.shto correctly handle ERPNext forks that have a different app/repo name thanerpnext.Adds
concurrencygroup keyed by event type + PR number (or run ID for dispatches), withcancel-in-progress: trueto avoid redundant runs on the same PR.